<?php if ($items): ?>
    <?php foreach ($items as $item): ?>
        <?= $this->makePartial('item', ['item' => $item]) ?>
    <?php endforeach ?>
<?php endif ?>